//入口文件，全局性的配置
import { createApp } from 'vue'
import './style.css'
import 'normalize.css'
import App from './App.vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import router from './router'   //引入路由对象

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(router)  //向vue应用对象内注入路由配置
app.mount('#app')
